.gallery {}
.gallery .list .img { display: inline-block; vertical-align: top; margin: 0px 20px 20px 0px; padding: 4px; border: 1px solid #e0e9f2; background-color: #f7f7f7; }
.gallery .list .img img { border: 1px solid #c0c0c0; }
.gallery .gallery-image { text-align: center; }
.gallery .gallery-image span { display: inline-block; border: 1px solid #e0e9f2; background-color: #f7f7f7; padding: 4px; }
.gallery .gallery-image span img { border: 1px solid #c0c0c0; }
.gallery .underimage { overflow: auto; margin-top: 15px; padding: 5px; border: 1px solid #c0c0c0; white-space: nowrap; }
.gallery .underimage .img { display: inline-block; vertical-align: top; margin: 0px 20px 0px 0px; border: 1px solid #e0e9f2; background-color: #f7f7f7; padding: 4px; }
.gallery .underimage .img img { border: 1px solid #c0c0c0; cursor: pointer; }

.gallery-images {}
.gallery-images h1.name { width: 800px; margin: 0px auto; padding: 0px; }
.gallery-images .big { padding: 5px; border: 1px solid #d0d0d0; text-align: center; min-height: 400px; position: relative; width: 800px; margin: 0px auto; }
.gallery-images .big .img {}
.gallery-images .big .prev, .gallery-images .big .next { position: absolute; top: 20px; width: 63px; height: 32px; z-index: 20; }
.gallery-images .big .prev { left: 0px; background-image: url(/shared/icons/gallery-prev.png); }
.gallery-images .big .next { right: 0px; background-image: url(/shared/icons/gallery-next.png); }
.gallery-images .list { overflow: auto; margin-top: 10px; border: 1px solid #c0c0c0; white-space: nowrap; }
.gallery-images .list .item { display: inline-block; white-space: nowrap; width: 150px; text-align: center; }
.gallery-images .list .item .name { overflow: hidden; white-space: nowrap; padding: 0px 5px; }
.gallery-images .list .item .img {  }
.gallery-images .list .item .img img {border: 1px solid #d0d0d0; }


